package com.shop.loan.model.vo;

import lombok.Getter;
import lombok.Setter;
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.View;

import javax.persistence.Transient;

@Erupt(name = "订单备注")
@Getter
@Setter
public class OrderRemarkVo extends HyperModelCreatorBaseVo {

    @Transient
    @EruptField(
            views = @View(title = "内容"),
            edit = @Edit(
                    title = "内容",
                    notNull = true
            )
    )
    private String content;

}
